<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ContactRecord extends Model
{
    use HasFactory;
    public function method(){
        return $this->belongsTo(ContactMethod::class,'contact_method_id');
    }
    public function contact(){
        return $this->belongsTo(Contact::class);
    }
}
